/*
 * @Author: c
 * @Date: 2024-01-12 22:12:59
 * @LastEditTime: 2024-01-12 23:28:56
 * @LastEditors: c
 * @Description:
 * @FilePath: \music-web-admin\src\api\video\type.ts
 * https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// Copyright 2024 Administrator
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Generated by https://quicktype.io

export interface Video {
  //推荐的排序
  recommendSort: number;
  //类型eg:2
  type: number;

  //唯一Code
  assetCode: string;
  //歌手列表
  artist: Artist[];
  //简介
  introduce: string;
  //语言缩写(zh)
  langCode: string;
  //类别（国语流行）
  genreName: string;
  //封面图
  pic: string;
  //发行时间
  originalReleaseDate: string;
  //mv标题
  title: string;
  //清晰度(r1080 r720 r480 r360)
  resolution: string[];
  //新增时间?
  indexDataAddTime: string;
  //视频时长
  duration: number;
  //播放地址
  path: string;
  //类型（流行）
  genre: string;
  //视频宽度
  width: number;
  //视频高度
  height: number;
  //所有分辨率
  allRate: AllRate[];
  //当前登录用户是否喜欢
  isFavorite: number;
  //播放总次数
  playnum: number;

  upc: string;
  baseId: number;
}

export interface AllRate {
  resolution: string;
  path: string;
}

export interface Artist {
  artistCode: string;
  gender: string;
  name: string;
  artistType: number;
  artistTypeName: string;
  pic: string;
  region: string;
}
